<?php

	session_start();
	if( $_SESSION['language_id'] == 1 ){
		$_SESSION['language_id'] = 2;
	} else {
		$_SESSION['language_id'] = 1;
	}
	
	if( !$_GET['location'] ) $_GET['location'] = 'index.php';
	
	header( "Location: $_GET[location]" );
?>